import request from '@/utils/request'

// 查询对账单明细返回结果列表
export function listStatementResult(query) {
  return request({
    url: '/laiqianle/statementResult/list',
    method: 'get',
    params: query
  })
}

// 查询对账单明细返回结果详细
export function getStatementResult(id) {
  return request({
    url: '/laiqianle/statementResult/' + id,
    method: 'get'
  })
}

// 新增对账单明细返回结果
export function addStatementResult(data) {
  return request({
    url: '/laiqianle/statementResult',
    method: 'post',
    data: data
  })
}

// 修改对账单明细返回结果
export function updateStatementResult(data) {
  return request({
    url: '/laiqianle/statementResult',
    method: 'put',
    data: data
  })
}

// 删除对账单明细返回结果
export function delStatementResult(id) {
  return request({
    url: '/laiqianle/statementResult/' + id,
    method: 'delete'
  })
}
